package com.chixing.service;

import com.chixing.entity.Coupon;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chixing.util.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author smith
 * @since 2025-09-22
 */
public interface ICouponService   {
    public Result getById(Integer id);

    //查询平台所有有效的优惠券，status 0 有效，1无效
    public Result getByStatus(Integer userId,Integer couponStatus);
    public Result getAll();
}
